package com.icefish.bean;

/**
 * Description: 表users
 * Date: 2022/11/30 23:07
 * Author: 26480
 * @since JDK 1.8
 */
public class User {
    // 属性
    private Integer user_id;
    private String username;
    private String password;
    private Integer level;
    private String grade;
    private String type;
    private Integer wallet;
    private String user_picture;
    private String state_message;

    // construct()
    public User() {}

    public User(Integer user_id, String username, String password, Integer level, String grade, String type, Integer wallet, String user_picture, String state_message) {
        this.user_id = user_id;
        this.username = username;
        this.password = password;
        this.level = level;
        this.grade = grade;
        this.type = type;
        this.wallet = wallet;
        this.user_picture = user_picture;
        this.state_message = state_message;
    }


    // toString()


    @Override
    public String toString() {
        return "user{" +
                "user_id=" + user_id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", level=" + level +
                ", grade='" + grade + '\'' +
                ", type='" + type + '\'' +
                ", wallet=" + wallet +
                ", user_picture='" + user_picture + '\'' +
                ", state_message='" + state_message + '\'' +
                '}';
    }

    // setter() and getter()
    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getWallet() {
        return wallet;
    }

    public void setWallet(Integer wallet) {
        this.wallet = wallet;
    }

    public String getUser_picture() {
        return user_picture;
    }

    public void setUser_picture(String user_picture) {
        this.user_picture = user_picture;
    }

    public String getState_message() {
        return state_message;
    }

    public void setState_message(String state_message) {
        this.state_message = state_message;
    }
}
